package cn.yunyichina.provider.hisiface.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.yunyichina.provider.hisiface.service.AbstractService;
import cn.yunyichina.provider.iface.entity.common.ResCommon;
import cn.yunyichina.provider.iface.entity.hisiface.leads.ClinicAddressInfoVo;
import cn.yunyichina.provider.iface.entity.hisiface.leads.ClinicAddressInfoVoResponse;
import cn.yunyichina.provider.iface.entity.hisiface.leads.RegisterGuideInfoVo;
import cn.yunyichina.provider.iface.entity.hisiface.leads.RegisterGuideInfoVoResponse;

/**
 * 智慧导医
 * 
 * @author zhou
 *
 */
@Service
public class LeadsServiceImpl extends AbstractService {

	/**
	 * 获取挂号信息
	 * 
	 * @param registerGuideInfoVo
	 * @return
	 */
	public ResCommon<RegisterGuideInfoVoResponse> getRegisterGuideInfo(RegisterGuideInfoVo registerGuideInfoVo) {
		String methodCode = "getRegisterGuideInfo";
    	String methodName = "获取挂号信息";
    	
    	return doExec(methodCode, methodName, registerGuideInfoVo, RegisterGuideInfoVoResponse.class);
	}

	/**
	 * 获取门诊缴费执行地点信息
	 * 
	 * @param clinicAddressInfoVo
	 * @return
	 */
	public ResCommon<List<ClinicAddressInfoVoResponse>> getClinicAddressInfo(ClinicAddressInfoVo clinicAddressInfoVo) {
		String methodCode = "getClinicAddressInfo";
    	String methodName = "获取门诊缴费执行地点信息";
    	
    	return doExecList(methodCode, methodName, clinicAddressInfoVo, ClinicAddressInfoVoResponse.class);
	}
}
